<template>
  <div class="tuan">
    <div class="bottom">
      <div class="cover">
        <div class="goodlist"  >
          <div class="imgbox">
            <img src="item.picture" alt="" />
          </div>
          <div class="textbox">
            <div class="goodtitle"></div>
            <div class="desc">
              买1送1明星皇堡&nbsp;&nbsp;|&nbsp;&nbsp;用心火烤肉质紧实鲜嫩多汁爆爆团
            </div>
            <div class="bbtuan">爆爆团价</div>
            <div class="price">
              <span>¥</span>
              <span></span>
              <span>马上抢</span>
            </div>
            <div class="saled"><del>￥50</del>已售</div>
          </div>
        </div>
      </div>
     </div>
    <router-view></router-view>
  </div>
</template>

<script>


export default {
  data() {
    return {
    //   currentIndex:0,
    //   baobaotuan:[],
      
    }
  },
  

}
</script>

<style lang="scss" scoped>
.tuan {
  .top {
    height: 220px;
    background-color: orangered;
    position: relative;
    span:nth-child(1) {
      display: block;
      position: absolute;
      bottom: 20px;
      left: 5px;
      margin: 10px 15px;
      color: #fff;
      padding-bottom: 5px;
    }
    span:nth-child(2) {
      display: block;
      position: absolute;
      bottom: 20px;
      left: 80px;
      margin: 10px 15px;
      color: #fff;
      padding-bottom: 5px;
    }

  }
  .bottom {
    background-color: rgb(240, 239, 239);
    // width:100%;
    height: 100%;
    position: relative;
    .cover {
      background-color: #fff;
      margin: 10px;
      position: relative;
      border-radius: 10px;
      top: -20px;

      .goodlist {
        margin: 10px;
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        align-items: center;
        padding: 5px;
        .imgbox {
          width: 160px;
          margin-right: 10px;
          text-align: center;
          img {
            width: 100%;
            border-radius: 5px;
          }
        }
        .textbox {
          .goodtitle {
            font-size: 13px;
            color: rgb(156, 155, 155);
          }
          .desc {
            font-weight: bold;
            font-size: 17px;
          }
          .bbtuan {
            font-size: 14px;
            color: orangered;
          }
          .price {
            display: flex;
            justify-content: space-between;
          }
          .price span:nth-child(1) {
            color: orangered;
            font-size: 20px;
          }
          .price span:nth-child(2) {
            border: 1px solid orangered;
            border-radius: 3px;
            display: block;
            padding: 0 5px;
            // line-height: 28px;
            color: orangered;
            
            font-size: 13px;
          }
          .price span:nth-child(3) {
            color: #fff;
            background-color: orangered;
            border-radius: 15px;
            display: block;
            padding: 0 10px;
            text-align: center;
            line-height: 28px;
          }
          .saled {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: orangered;
            font-size: 13px;
            padding-top: 3px;
            del {
              font-size: 12px;
              color: #ccc;
            }
          }
        }
      }
    }
  }
  
}
</style>